#ifndef CORRELATE_H
#define CORRELATE_H

#include <memory>
#include <list>
#include <vector>
#include "math.h"
#include "track_3d.h"
#include "radar_processor.h"
#include "detect_structure.h"
/*** 
 * 
 * 
 */
#if 0
class Correlate{

public:
    //传入雷达参数
    Correlate(RadarParameters params){
        m_radarProcessor=std::make_unique<RadarProcessor>(params);
    }
    ~Correlate()=default;

    

    //在process中完成检测与追踪进行匹配
    void process();
    
private:
    //创建雷达处理器
    std::unique_ptr<RadarProcessor>m_radarProcessor;
    std::unique_ptr<Track3D> m_track3d;

    //检测到的目标容器   将检测到的数据目标保存到m_detected_targets容器中
    std::vector<TargetInfo> m_detected_targets;



private:
    //初始化三维轨迹库 // 目标航迹信息
    std::vector<Track3D> m_tracks(MAX_TRACKS_3D);
    
    std::vector<TargetInfo> m_detected_targets;



};

#endif

#endif